package cn.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;

/**
 * <p>Project: jse2204 - User
 * <p>Powered by webrx On 2022-10-10 09:13:03
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({TYPE,METHOD})
public @interface User {
    String name();

    int age() default 18;

    String sex() default "男";
}
